#pragma once
#include "common.h"

int SendSmallFile(lua_State * L);
int SetSocketBufferSize(lua_State * L);
int SetKeepAliveTime(lua_State * L);
int SetKeepAliveInterval(lua_State * L);
int GetSocketBufferSize(lua_State * L);
int GetKeepAliveTime(lua_State * L);
int GetKeepAliveInterval(lua_State * L);
int Start(lua_State * L);
int Stop(lua_State * L);
int Send(lua_State * L);
int SendPackets(lua_State * L);
int PauseReceive(lua_State * L);
int Wait(lua_State * L);
int SetExtra(lua_State * L);
int GetExtra(lua_State * L);
int IsSecure(lua_State * L);
int HasStarted(lua_State * L);
int GetState(lua_State * L);
int GetLastError(lua_State * L);
int GetLastErrorDesc(lua_State * L);
int GetConnectionID(lua_State * L);
int GetLocalAddress(lua_State * L);
int GetRemoteHost(lua_State * L);
int GetPendingDataLength(lua_State * L);
int IsPauseReceive(lua_State * L);
int IsConnected(lua_State * L);
int SetReuseAddressPolicy(lua_State * L);
int SetFreeBufferPoolSize(lua_State * L);
int SetFreeBufferPoolHold(lua_State * L);
int GetReuseAddressPolicy(lua_State * L);
int GetFreeBufferPoolSize(lua_State * L);
int GetFreeBufferPoolHold(lua_State * L);